package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_xhb_sport_person")
public class BhyfXhbSportPerson implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    /**
     * 学生ID
     */
    @ApiModelProperty(value = "学生ID")
    @TableId(value = "personid", type = IdType.ID_WORKER)
    private Long personid;

    /**
     * 运动日期
     */
    @ApiModelProperty(value = "运动日期")

    private Date sportdate;

    /**
     * 运动状态
     */
    @ApiModelProperty(value = "运动状态")

    private Integer sportstatus;

    /**
     * 运动时长
     */
    @ApiModelProperty(value = "运动时长")

    private Integer sportseconds;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CreateTime", fill = FieldFill.INSERT)
    private Date CreateTime;


    public Long getPersonId() {
        return personid;
    }

    public void setPersonId(Long PersonId) {
        this.personid = PersonId;
    }

    public Date getSportDate() {
        return sportdate;
    }

    public void setSportDate(Date SportDate) {
        this.sportdate = SportDate;
    }

    public Integer getSportStatus() {
        return sportstatus;
    }

    public void setSportStatus(Integer SportStatus) {
        this.sportstatus = SportStatus;
    }

    public Integer getSportSeconds() {
        return sportseconds;
    }

    public void setSportSeconds(Integer SportSeconds) {
        this.sportseconds = SportSeconds;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date CreateTime) {
        this.CreateTime = CreateTime;
    }

    @Override
    public String toString() {
        return "BhyfXhbSportPerson{" +
                "PersonId=" + personid +
                ", SportDate=" + sportdate +
                ", SportStatus=" + sportstatus +
                ", SportSeconds=" + sportseconds +
                ", CreateTime=" + CreateTime +
                "}";
    }
}
